<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/vue.js"></script>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div id="root">
        {{name}}
        {{name}}
        <div class="header">
            <ul class="header_ul">
                <li v-for="(book,index) in content">
                    {{book.number}}
                    <ul v-for="sub in book.subdirectory"><li>{{sub}}</li></ul>
                </li>
            </ul>
        </div>
    </div>
    <script>
        new Vue({
          el:'#root',
          data:{
            name:'张三',
            content:{
                book1:{
                    number:白皮书,
                    subdirectory:['第一','第二']
                },
                book2:{
                    number:绿皮书,
                    subdirectory:['第一','第二']
                },
                book3:{
                    number:黄皮书,
                    subdirectory:['第一','第二']
                }
            }
          }
        })
    </script>
</body>
</html>